package thread;

class myThread extends Thread {
    public myThread() {
    }

    @Override
    public void run() {
        while (true) {
            System.out.println("t线程ttttt");
        }
    }
}
public class demo1 {

    public static void main(String[] args) {
        Thread t = new myThread();
        t.start();
        while (true) {
            System.out.println("主线程9999");
        }
    }
}
